<?php
/*
 * 优惠券
 */
namespace app\home\controller;

use app\common\controller\IndexBase;
use think\facade\Session;
use think\facade\Db;

class Coupon extends IndexBase
{
    protected function initialize()
    {
        parent::initialize();
    }

    //首页
    public function index()
    {
    	$data = Db::table('coupon')->select();
        return $this->fetch('',['data'=>$data]);
    }



}